define(['./module'],function(module){
	'use strict';


	module.controller("introsite",serverintrositectrl);

	function serverintrositectrl($scope, $http){
		//读取jshoperxms圈子的内容
		$http({
			method:'POST',
			url:'../api/introsite/findAll',
			data:{
				'name':'jshoperxms'
			}
		}).success(function(data){
			if(data.sucflag){
				console.log(data.beanlist);
				$scope.timedetail=data.beanlist;
				$scope.a="dfdfd";
			}
		}).
		error(function(){
			$scope.errors={
				show:true,
				msg:'系统异常'
			}
		});


	}



});
